home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / et / et3_0-a1.lha / et3 / src / Alert.h < prev    next >
C/C++ Source or Header  |  1992-06-15  |  677b  |  38 lines

  1. #ifndef Alert_First
  2. #ifdef __GNUG__
  3. //pragma once
  4. #pragma interface
  5. #endif
  6. #define Alert_First
  7.  
  8. #include "Dialog.h"
  9. #include "Alert_e.h"
  10.  
  11. class Text;
  12. class StaticTextView;
  13.  
  14. class Alert: public Dialog {
  15. public:
  16.     MetaDef(Alert);
  17.  
  18.     Alert(AlertType, byte *text= 0, Bitmap *bm= 0, ...);
  19.     ~Alert();
  20.  
  21.     VObject *DoMakeContent();
  22.     int Show(char *fmt, ...);
  23.     int ShowV(char *fmt, va_list ap);
  24.     int ShowV(Font *fp, char *fmt, va_list ap);
  25.     void InspectorId(char *buf, int sz);
  26.  
  27.     static ObjArray *alerts;
  28.  
  29. protected:
  30.     Text *text;
  31.     StaticTextView *textview;
  32.     VObject *image, *buttons;
  33. };
  34.  
  35. extern SmartBitmap gNote, gCaution, gStop, gSun, gError;
  36.  
  37. #endif
  38.